package com.saicmotor.paging;

import androidx.annotation.NonNull;
import androidx.paging.DataSource;

import com.saicmotor.paging.Bean.DataBean;

/**
 * @Author xinxinzhang
 * @Date 2022/08/17
 **/
public class PagingDataSourceFactory extends DataSource.Factory<String, DataBean.ResultBean>{

    @NonNull
    @Override
    public DataSource<String, DataBean.ResultBean> create() {
        PagingDataSource dataSource = new PagingDataSource();
        return dataSource;
    }
}
